public class Example09 {
    public static void main(String[] args) {
        int grade = 75;
        if (grade > 80){
            //满足条件 grade > 80
            System.out.println("该成绩等级为优");
        }else if (grade >70){
            //不满足条件grade>80但满足条件grade>70
            System.out.println("该成绩等级为良");
        }else if (grade >60){
            //不满足条件grade>70,但满足条件grade>60
            System.out.println("该成绩等级为中");
        }else {
            //不满足条件grade>60,
            System.out.println("该成绩等级为差");
        }
    }
}
